package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.CustomVisit;

import java.util.List;

/**
 * customVisitMapper接口
 *
 * @author ruoyi
 * @date 2022-06-07
 */
public interface CustomVisitMapper
{
    /**
     * 查询customVisit
     *
     * @param id customVisit主键
     * @return customVisit
     */
    public CustomVisit selectCustomVisitById(Long id);

    /**
     * 查询customVisit列表
     *
     * @param customVisit customVisit
     * @return customVisit集合
     */
    public List<CustomVisit> selectCustomVisitList(CustomVisit customVisit);

    /**
     * 新增customVisit
     *
     * @param customVisit customVisit
     * @return 结果
     */
    public int insertCustomVisit(CustomVisit customVisit);

    /**
     * 修改customVisit
     *
     * @param customVisit customVisit
     * @return 结果
     */
    public int updateCustomVisit(CustomVisit customVisit);

    /**
     * 删除customVisit
     *
     * @param id customVisit主键
     * @return 结果
     */
    public int deleteCustomVisitById(Long id);

    /**
     * 批量删除customVisit
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCustomVisitByIds(Long[] ids);
}
